package my.websocket.chat;

public enum MsgActionEnum {

	CHAT(2, "聊天消息"),
	CONNECT(1, "第一次(或重连)初始化连接"),
	KEEP_ALIVE(4, "客户端保持心跳"),
	PULL_FRIEND(5, "拉取好友"),
	SIGNED(3, "消息签收");

	public final Integer type;
	public final String content;

	MsgActionEnum(Integer type, String content) {
		this.type = type;
		this.content = content;
	}

	public Integer getType() {
		return type;
	}
}
